*{
    padding:0;
    margin:0;
}
html,body{
    width:100%;
    height:100%;
}
body{
    -webkit-background-size: cover;
    background-size: cover;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.web-footer {
    position: absolute;
    bottom: 0px;
    height: 55px;
    width: 100%;
    background-color: grey;
}

.web-footer .footer-elem {
    position: absolute;
    height: 100%;
    width: 50%;
    background-color:grey;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.web-footer .footer-chat {
    left: 0%;
}

.web-footer .footer-bottle {
    left: 50%;
}

/**********************footer end*********************/

.userform-wrapper{
    width:100%;
    height:100%;
    /*-webkit-transition: all 1s;*/
    /*-moz-transition: all 1s;*/
    /*-ms-transition: all 1s;*/
    /*-o-transition: all 1s;*/
    /*transition: all 1s;*/
}
.userform-wrapper{
    background-color:#242628;
}

.userform-wrapper form.login{
    text-align: center;
    position: absolute;
    top: 40%;
    width: 60%;
    left: 20%;
}

.userform-wrapper.ng-hide-add, .userform-wrapper.ng-hide-remove {
    -webkit-transition:all linear 5s;
    -moz-transition:all linear 0.5s;
    -o-transition:all linear 0.5s;
    transition:all linear 5s;
    display:block!important;
}

.userform-wrapper.ng-hide-add.ng-hide-add-active,
.userform-wrapper.ng-hide-remove {
    opacity:0;
}

.userform-wrapper.ng-hide-add,
.userform-wrapper.ng-hide-remove.ng-hide-remove-active {
    opacity:1;
}

.chat-room-wrapper{
    width: 100%;
    height: calc(100% - 55px);
    position: absolute;
}

.chat-room-wrapper .chat-room {
    position: absolute;
    left: 0%;
    width: 100%;
    height: 100%;
}

.header-elem {
    position: absolute;
    width: 100%;
    height: 55px;
    background-color: grey;
}

.header-return {
    transform: translate(5px, 9px);
    border: 0px;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
    background-color: inherit;
    cursor: pointer;
    display: inline-block;
}

.header-return-dot {
    transform: translate(2px, -4px);
    height: 8px;
    width: 8px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.header-text{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
}

.header-menu-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 100%;
    padding-bottom: 10px;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu {
    position: absolute;
    right: 10px;
    top: calc(100% + 2px);
    border: solid 1px grey;
    background-color: RGB(238, 238, 238);
    list-style-type: none;
    margin: 0px;
    padding: 5px;
    z-index: 999;
}

.header-menu-elem {
    font-size: large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: black;
    cursor: pointer;
    margin: 3px;
}

.chat-room-wrapper .chat-room .chat-room-body {
    position: absolute;
    top: 55px;
    bottom: 55px;
    width: 100%;
    background-color: RGB(238, 238, 238);
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-room-wrapper .chat-room .chat-room-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 55px;
}

.chat-room-wrapper .chat-room .chat-room-footer form {
    position: absolute;
    bottom: 0;
    top: 10%;
    height: 80%;
    left: 5%;
    width: 90%;
}

.chat-room-wrapper .chat-room .chat-room-footer form input[type='text'] {
    position: absolute;
    left: 5px;
    width: 80%;
    height: 80%;
    top: 10%;
}

.chat-room-wrapper .chat-room .chat-room-footer form input[type='submit'] {
    position: absolute;
    left: 85%;
    width: 10%;
    top: 0%;
    height: 80%;
    top: 10%;
    background-color: #b2e281;
    font-size: medium;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border: 0px;
}

.chat-room-wrapper .online{
    position: absolute;
    width: 100%;
    left: 0%;
    height: 100%;
}

.chat-room-wrapper .online .online-header {
    position: absolute;
    width: 100%;
    height: 55px;
    background-color: grey;
}



.chat-room-wrapper .online .user-wrapper{
    background: RGB(238, 238, 238);
    overflow-y: auto;
    overflow-x: auto;
    position: absolute;
    width: 100%;
    top: 55px;
    bottom: 0;
    padding: 0;
}

.chat-room-wrapper .online .user-wrapper .user{
    text-align: left;
    border-bottom: solid 1px #ccc;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 18px;
}
.chat-room-wrapper .online .user-wrapper .user:hover{
    background-color: RGB(245, 250, 255);
}
.chat-room-wrapper .online .user-wrapper .user .avatar{
    vertical-align: middle;
}
.chat-room-wrapper .online .user-wrapper .user .nickname{
    margin-left: 20px;
    vertical-align: middle;
    color: rgba(0,0,0,.7);
}
.chat-room-wrapper .online .user-wrapper .user .unread{
    vertical-align: middle;
    margin-right: 5px;
    color: red;
}
.chat-room-wrapper .system-notification{
    background-color: lightsalmon;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    color: #FFF;
    margin-bottom: 10px;
}

.chat-room-wrapper .normal-message{
    text-align: right;
    margin:0 10px 20px 20px;
}
.chat-room-wrapper .normal-message.others{
    text-align: left;
}
.chat-room-wrapper .normal-message .name-wrapper{
    color: rgba(0,0,0,.5);
}
.chat-room-wrapper .normal-message .content{
    display: inline-block;
    background-color: #b2e281;
    padding: 10px 20px;
    color: rgba(0,0,0,.7);
    border-radius: 3px;
    position: relative;
    margin-top: 5px;
    max-width: 60%;
    min-height: 40px;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    word-break: break-all;
}
.chat-room-wrapper .normal-message.others .content-wrapper{
    position: relative;
}
.chat-room-wrapper .normal-message.others .content{
    position: absolute;
    margin-left: 50px;
    background-color: #fff;
}
.chat-room-wrapper .normal-message.self .content:after,.chat-room-wrapper .normal-message.others .content:before{
    content:'';
    position: absolute;
    width: 0;
    height: 0;
    top: 10px;
    display: block;
    border:6px solid transparent;
}
.chat-room-wrapper .normal-message.self .content:after{
    left: 100%;
    border-left:4px solid #b2e281;
}
.chat-room-wrapper .normal-message.others .content:before{
    right: 100%;
    border-right:4px solid #fff;
}

.chat-room-wrapper .avatar{
    display: inline-block;
    width:40px;
    height: 40px;
    margin-top: 5px;
    margin-left: 10px;
    vertical-align: top;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.chat-room-wrapper .others .avatar{
    margin-left: 0;
    margin-right: 10px;
}

/*************************bottle start**********************/

.drift-bottle-wrapper {
    width: 100%;
    height: calc(100% - 55px);
    position: absolute;
    background-color: white;
}

.bottle-body {
    position: absolute;
    top: 55px;
    bottom: 55px;
    width: 100%;
    background-color: RGB(238, 238, 238);
}

.drift-bottle-wrapper .bottle-body .bottle-text {
    position: absolute;
    left: 5%;
    width: 90%;
    top: 5%;
    height: 80%;
    font-size: 16px;
    resize: none;
    line-height: 30px;
    word-wrap: break-word;
    word-break: break-all;
    border: none;
}

.drift-bottle-wrapper .bottle-body-get .bottle-from {
    position: absolute;
    width: 90%;
    left: 5%;
    top: 85%;
    font-size: 14px;
    height: 16px;
}

.drift-bottle-wrapper .bottle-body-get .bottle-date {
    position: absolute;
    width: 90%;
    left: 5%;
    top: calc(85% + 16px);
    font-size: 14px;
    height: 16px;
}

.drift-bottle-wrapper .bottle-body .bottle-body-getting {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    transform: translate(-50%, -50%);
}

.drift-bottle-wrapper .bottle-body .bottle-text:focus {
    outline: none;
}

.drift-bottle-wrapper .bottle-body {
    white-space: nowrap;
    overflow-x: hidden;
}

.drift-bottle-wrapper .bottle-button {
    position: absolute;
    font-size: large;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: grey;
    color: white;
    font-size: 24px;
    border-radius: 5px;
}

.drift-bottle-wrapper .bottle-body-throw .pos-throw {
    width: 90px;
    top: calc(85% + 15px + 32px);
    right: 5%;
}

.drift-bottle-wrapper .bottle-body-throw .pos-close {
    width: 60px;
    top: calc(85% + 15px + 32px);
    right: calc(5% + 90px + 15px);
}

.drift-bottle-wrapper .bottle-body-get .pos-add {
    width: 120px;
    top: calc(85% + 15px + 32px);
    right: 5%;
}

.drift-bottle-wrapper .bottle-body-get .pos-drop {
    width: 120px;
    top: calc(85% + 15px + 32px);
    right: calc(5% + 120px + 15px);
}


.bottle-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 55px;
    background-color: RGB(238, 238, 238);
}

.bottle-footer .bottle-footer-elem {
    position: absolute;
    top: 3%;
    height: 94%;
    width: 30%;
    background-color: inherit;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: solid 2px black;
    border-radius: 50px;
}

.bottle-footer-throw {
    left: 15%;
}

.bottle-footer-get {
    right: 15%;
    /*
    left: 50%;
    transform: translate(-50%, 0);
    */
}

.yes{
    color: yellow;
}
.no{
    color: purple;
}
